import {HTTP} from '../util/http.js'
class HomeModel extends HTTP{
  getPosts(offset){
    return this.request({
      url: 'pipipi/v1/posts',
      data:{
        offset:offset?offset:0
      }
    });
  }
}
export { HomeModel}